diff options
| author | Adam Soltys <[email protected]> | 2023-12-01 23:55:25 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-01 23:55:25 -0800 |
| commit | 38ba5cb660fb093bca1a621c364f0f385659a0b4 (patch) | |
| tree | b0606dfaae90a488952096aad8f4ca90ae3118e8 /src/routes/(app)/[username]/settings | |
| parent | 216a600224fde22ce76b367557a02094ec693886 (diff) | |
| download | coinos-ui-38ba5cb660fb093bca1a621c364f0f385659a0b4.tar.gz coinos-ui-38ba5cb660fb093bca1a621c364f0f385659a0b4.zip | |
change component imports
Diffstat (limited to 'src/routes/(app)/[username]/settings')
5 files changed, 11 insertions, 5 deletions
diff --git a/src/routes/(app)/[username]/settings/[...tab]/+page.svelte b/src/routes/(app)/[username]/settings/[...tab]/+page.svelte index 92772f43..b7a9ccfb 100644 --- a/src/routes/(app)/[username]/settings/[...tab]/+page.svelte +++ b/src/routes/(app)/[username]/settings/[...tab]/+page.svelte @@ -4,7 +4,9 @@ import { fly } from "svelte/transition"; import { applyAction, deserialize } from "$app/forms"; - import { Icon, Spinner, Pin } from "$comp"; + import Icon from "$comp/Icon.svelte"; + import Spinner from "$comp/Spinner.svelte"; + import Pin from "$comp/Pin.svelte"; import { t } from "$lib/translations"; import { fail, post, warning, success } from "$lib/utils"; import { avatar, banner, password, pin } from "$lib/store"; diff --git a/src/routes/(app)/[username]/settings/[...tab]/_account.svelte b/src/routes/(app)/[username]/settings/[...tab]/_account.svelte index 64ab669f..20c883e3 100644 --- a/src/routes/(app)/[username]/settings/[...tab]/_account.svelte +++ b/src/routes/(app)/[username]/settings/[...tab]/_account.svelte @@ -1,7 +1,7 @@ <script> import { tick } from "svelte"; import { colorTheme, avatar, banner } from "$lib/store"; - import { Icon } from "$comp"; + import Icon from "$comp/Icon.svelte"; import { t } from "$lib/translations"; import { page } from "$app/stores"; diff --git a/src/routes/(app)/[username]/settings/[...tab]/_pos.svelte b/src/routes/(app)/[username]/settings/[...tab]/_pos.svelte index 94a35493..cbf31a68 100644 --- a/src/routes/(app)/[username]/settings/[...tab]/_pos.svelte +++ b/src/routes/(app)/[username]/settings/[...tab]/_pos.svelte @@ -1,5 +1,7 @@ <script> - import { Icon, LocaleSelector, Toggle } from "$comp"; + import Icon from "$comp/Icon.svelte"; + import LocaleSelector from "$comp/LocaleSelector.svelte"; + import Toggle from "$comp/Toggle.svelte"; import { t } from "$lib/translations"; import { success, fail } from "$lib/utils"; import { page } from "$app/stores"; diff --git a/src/routes/(app)/[username]/settings/[...tab]/_security.svelte b/src/routes/(app)/[username]/settings/[...tab]/_security.svelte index f8c14e7b..38bf726c 100644 --- a/src/routes/(app)/[username]/settings/[...tab]/_security.svelte +++ b/src/routes/(app)/[username]/settings/[...tab]/_security.svelte @@ -2,7 +2,9 @@ import { getMnemonic, getNsec } from "$lib/nostr"; import { tick } from "svelte"; import { t } from "$lib/translations"; - import { Pin, Icon, Qr } from "$comp"; + import Pin from "$comp/Pin.svelte"; + import Icon from "$comp/Icon.svelte"; + import Qr from "$comp/Qr.svelte"; import { copy, post, success, fail } from "$lib/utils"; import { pin as current } from "$lib/store"; import { invalidate } from "$app/navigation"; diff --git a/src/routes/(app)/[username]/settings/[...tab]/_shopify.svelte b/src/routes/(app)/[username]/settings/[...tab]/_shopify.svelte index 3e2a8dae..0266fa9c 100644 --- a/src/routes/(app)/[username]/settings/[...tab]/_shopify.svelte +++ b/src/routes/(app)/[username]/settings/[...tab]/_shopify.svelte @@ -1,6 +1,6 @@ <script> import { t } from "$lib/translations"; - import { Icon } from "$comp"; + import Icon from "$comp/Icon.svelte"; import { page } from "$app/stores"; export let user; |
